package com.ruoyi.lc.biz.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseBizEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 业务类型对象 md_lc_biz_type
 *
 * @author qibotian
 * @date 2025-03-04
 */
@TableName("md_lc_biz_type")
public class BizType extends BaseBizEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 组件路径
     */
    @Excel(name = "组件路径")
    private String componentUrl;

    /**
     * 主表名称
     */
    @Excel(name = "主表名称")
    private String masterTableName;

    @Excel(name = "绑定的工作流定义ID")
    private String workflowDefineId;

    private String idProps;

    private String idField;

    private String showProps;

    private String showField;

    private String showColumns;

    public void setComponentUrl(String componentUrl) {
        this.componentUrl = componentUrl;
    }

    public String getComponentUrl() {
        return componentUrl;
    }

    public void setMasterTableName(String masterTableName) {
        this.masterTableName = masterTableName;
    }

    public String getMasterTableName() {
        return masterTableName;
    }

    public String getWorkflowDefineId() {
        return workflowDefineId;
    }

    public void setWorkflowDefineId(String workflowDefineId) {
        this.workflowDefineId = workflowDefineId;
    }

    public String getShowColumns() {
        return showColumns;
    }

    public void setShowColumns(String showColumns) {
        this.showColumns = showColumns;
    }

    public String getIdProps() {
        return idProps;
    }

    public void setIdProps(String idProps) {
        this.idProps = idProps;
    }

    public String getIdField() {
        return idField;
    }

    public void setIdField(String idField) {
        this.idField = idField;
    }

    public String getShowProps() {
        return showProps;
    }

    public void setShowProps(String showProps) {
        this.showProps = showProps;
    }

    public String getShowField() {
        return showField;
    }

    public void setShowField(String showField) {
        this.showField = showField;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("code", getCode())
                .append("title", getTitle())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("userId", getUserId())
                .append("deptId", getDeptId())
                .append("workflowStatus", getWorkflowStatus())
                .append("submitUserId", getSubmitUserId())
                .append("submitDeptId", getSubmitDeptId())
                .append("submitTime", getSubmitTime())
                .append("lastAuditTime", getLastAuditTime())
                .append("lastAuditUserId", getLastAuditUserId())
                .append("componentUrl", getComponentUrl())
                .append("masterTableName", getMasterTableName())
                .toString();
    }


}
